﻿using SD.ContentSystem.Domain.Entities;
using SD.Infrastructure.DomainServiceBase;
using System.Collections.Generic;

namespace SD.ContentSystem.Domain.IDomainServices
{
    /// <summary>
    /// 栏目领域服务接口
    /// </summary>
    public interface IChannelService : IDomainService<Channel>
    {
        #region # 获取栏目下文章条数/页数 —— KeyValuePair<int, int> GetPage(Channel channel)
        /// <summary>
        /// 获取栏目下文章条数/页数
        /// </summary>
        /// <param name="channel">栏目</param>
        /// <returns>栏目下文章条数/页数</returns>
        /// <remarks>KeyValuePair[int, int]，[条数, 页数]</remarks>
        KeyValuePair<int, int> GetPage(Channel channel);
        #endregion
    }
}
